x86/hvm: Centralize and simplify the RTC IRQ logic.
authorTim Deegan <tim@xen.org>
Thu, 28 Mar 2013 11:27:31 +0000 (11:27 +0000)
committerTim Deegan <tim@xen.org>
Fri, 29 Mar 2013 09:43:25 +0000 (09:43 +0000)
commit527824f41f5fac9cba3d4441b2e73d3118d98837
tree598827e17c7aa6201833e7b52ed6e49a6c271fc9
parentecaa2629f2eb90048a18bcc1df430328cc0371be
x86/hvm: Centralize and simplify the RTC IRQ logic.

This keeps the behaviour of strobing the IRQ line every time any RTC
interrupt source is raised.  I rather suspect (based on the behaviour
of the MC146818A RTC) that we ought to be suppressing all subsequent
interrupts whenever RTC_IRQF is set, but this way avoids making
guest-visible changes.

Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/rtc.c